How does SQL Server handle a comparison between dates when both are strings

join shbcf.ru